package com.learn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 测试freemarker
 * 
 * 依赖<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-freemarker</artifactId>
		</dependency>
		
	默认访问classpath:templates/*.ftl文件
	
	详见：org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties
 * @author Romanceling
 *
 */
@Controller
public class FreeMarkerController {

	@GetMapping("/reg")
	public String reg(){
		return "reg";
	}
}
